<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The AMQPChannel class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="amqpconnection.setvhost.html">AMQPConnection::setVhost</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="amqpchannel.committransaction.html">AMQPChannel::commitTransaction</a></div>
 <div class="up"><a href="book.amqp.html">AMQP</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.amqpchannel" class="reference">

 <h1 class="title">The AMQPChannel class</h1>
 

 <div class="partintro"><p class="verinfo">(PECL amqp &gt;= Unknown)</p> 


  <div class="section" id="amqpchannel.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    Represents a channel on an connection. Each connection can have multiple channels.
   </p>
  </div>


  <div class="section" id="amqpchannel.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">AMQPChannel</strong>
     </span>
     {</div>

    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="amqpchannel.committransaction.html" class="methodname">commitTransaction</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="methodname"><a href="amqpchannel.construct.html" class="methodname">__construct</a></span>
    ( <span class="methodparam"><span class="type"><a href="class.amqpconnection.html" class="type AMQPConnection">AMQPConnection</a></span> <code class="parameter">$amqp_connection</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="amqpchannel.isconnected.html" class="methodname">isConnected</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="amqpchannel.qos.html" class="methodname">qos</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$size</code></span>
   , <span class="methodparam"><span class="type">int</span> <code class="parameter">$count</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="amqpchannel.rollbacktransaction.html" class="methodname">rollbackTransaction</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="amqpchannel.setprefetchcount.html" class="methodname">setPrefetchCount</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$count</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="amqpchannel.setprefetchsize.html" class="methodname">setPrefetchSize</a></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$size</code></span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span><span class="methodname"><a href="amqpchannel.starttransaction.html" class="methodname">startTransaction</a></span>
    ( <span class="methodparam">void</span>
   )</div>

   }</div>


  </div>

 </div>

 
 






 






 






 






 






 






 






 







<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="amqpchannel.committransaction.html">AMQPChannel::commitTransaction</a> — Commit a pending transaction</li><li><a href="amqpchannel.construct.html">AMQPChannel::__construct</a> — Create an instance of an AMQPChannel object</li><li><a href="amqpchannel.isconnected.html">AMQPChannel::isConnected</a> — Check the channel connection</li><li><a href="amqpchannel.qos.html">AMQPChannel::qos</a> — Set the Quality Of Service settings for the given channel</li><li><a href="amqpchannel.rollbacktransaction.html">AMQPChannel::rollbackTransaction</a> — Rollback a transaction</li><li><a href="amqpchannel.setprefetchcount.html">AMQPChannel::setPrefetchCount</a> — Set the number of messages to prefetch from the broker</li><li><a href="amqpchannel.setprefetchsize.html">AMQPChannel::setPrefetchSize</a> — Set the window size to prefetch from the broker</li><li><a href="amqpchannel.starttransaction.html">AMQPChannel::startTransaction</a> — Start a transaction</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="amqpconnection.setvhost.html">AMQPConnection::setVhost</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="amqpchannel.committransaction.html">AMQPChannel::commitTransaction</a></div>
 <div class="up"><a href="book.amqp.html">AMQP</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
